package com.itsu.service;

import com.github.pagehelper.PageInfo;
import com.itsu.domain.Course;
import com.itsu.domain.User;

import java.util.List;

public interface CourseService {

    void save(Course course);

    void delete(Course course);

    void update(Course course);

    Course findById(String id);

    List<Course> findAll();

    PageInfo<Course> findAll(int pageNum, int pageSize);
}

